package com.itheima.多线程.基础;

public class Demo7 {
    public static void main(String[] args) throws InterruptedException {
        System.out.println("1");
        Thread.sleep(4000);
        System.out.println("2");
    }

}


class ThreadDemo1 extends Thread {
    @Override
    public void run() {

    }
}
